<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>上海睿器资产管理有限公司</title>
<link href="css/layout.css" rel="stylesheet" type="text/css" />
<link href="css/reset.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"  src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/kefu.js"></script> <!--在线客服-->
<script>
		
			function GetQueryString(name) { 
				var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)","i"); 
				var r = window.location.search.substr(1).match(reg); 
				if (r!=null) return (r[2]); return null; 
			} 
		
			var code=GetQueryString("code");
			
			$(function(){
				if(code=="news"){
					$("#banner").addClass("NewsBanner");
				}else if(code=="company"){
					$("#banner").addClass("News2Banner");
				}else{
					$("#banner").addClass("NewsBanner");
				}
				$.ajax({
					type:'get',
					url:'/cms/content/list',
					data:'code='+code+'&page=1&limit=365',
					success:function(data){
						if(data.code=="0"){
							var page=data.data;
							var news1Html="";
							var news2Html="";
							var news=page.list;
							for(var i=0;i<news.length;i++){
								var id=news[i].id;
								var title=news[i].title;
								var time=news[i].attribute_map.publishTime;
								if(title.length>25){
									title=title.substring(0,20)+"...";
								}
								var li="<li><a title='"+title+"' href=\"newsDetail.html?id="+id+"\" target=\"_blank\">"+title+"<span>"+time+"</span></a></li>";
								if(i%2==0){
									news1Html+=li;
								}else{
									news2Html+=li;
								}
							}
							
							if(news.length%2!=0){
								news2Html+="<li>&nbsp;</li>";
							}
							
							$("#news1").html(news1Html);
							$("#news2").html(news2Html);
						}
					}
				});
			});
		</script>
</head>

<body>
<!-- 客服 开始 -->
<div id="top"></div>
<!-- 客服 结束 -->
<!-- banner 开始 -->
<div class="" id="banner"></div>
<!-- banner  结束 -->

<!-- 新闻资讯  开始 -->
	<div class="newsbox">
		<div class="container">
			<div class="newslist">
				<ul id="news1">
				</ul>
			</div>
			<div class="newslist">
				<ul id="news2">
				</ul>
			</div>

			<!-- 
<div class="digg">
	<span class="disabled"> < </span><span class="current">1</span><a href="#?page=2">2</a><a href="#?page=3">3</a><a href="#?page=4">4</a><a href="#?page=5">5</a><a href="#?page=6">6</a><a href="#?page=7">7</a>...<a href="#?page=199">199</a><a href="#?page=200">200</a><a href="#?page=2"> > </a>
	
</div>
 -->

			<div class="digg">
				<span class="disabled"> < </span> <span class="current">1</span> <span
					class="disabled"> > </span>
			</div>
			<form>
				<input type="button" value="返回首页" onclick="window.location.href='index.html'"/>
			</form>
		</div>
		
		

	</div>
	<!-- 新闻资讯  结束 -->

</body>
</html>
